<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
#parse("/linkandscript.html")

<title>Test</title>
</head>
<body>        
<div class="centerdiv">
	<input id="posturl" type="text" style="width:800px" value="http://tk.avzcf.info/bbs/viewthread.php?tid=311666">
    <a class="btn btn-primary" id="posturlbtn">测试这个帖子</a>
</div>



</body>
<script language="javascript">
$(function(){
	$("#posturlbtn").click(function(){
		var posturl = $("#posturl").val();
		console.log("提交："+posturl);
		$.get('/hezi/test?action=runpost&posturl='+posturl,function(theback)
			  {
				console.log("返回:" + theback);
			  }
		);	
	});

})


</script>
<style type="text/css">

.centerdiv{
	margin:20px;
}





</style>
</html>
